footer {
    margin-top: auto;
    position: relative;
    top: -7px;
    background-color: #191814;
    padding: 20px 0;
    color: white;
    bottom: 0;
    display: flex;
    flex-direction: row;
    min-height: 350px;
    box-sizing: border-box;
  	overflow-x: hidden;
  	width: 100%;
    border-top: solid 1px #2E2E2E;
}

* {
    -webkit-tap-highlight-color: transparent;
}

footer p {
    width: 100%;
    margin-top: 20px;
}
  
  .TopS{
    margin-bottom: 2px;
    margin-top: 5px;
  }
  
  .Content-Contane {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    color: white;
}
  
  .Content-Contane button{
    padding: 10px;
    border-radius: 6px;
    background: #e84c43;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .Content-Contane button i{
    color: white;
  }
  
  .Content-Contane button:hover{
	background-color: #e84c43;
    transform: scale(1.05);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  }

  .contactform-input{
    margin: 10px 0px;
    width: 100%;
    border: none;
    color: white;
    font-weight: 600;
    font-family:"Montserrat", sans-serif;
    border-radius: 10px;
    min-height: 40px;
    padding: 10px;
    background-color: #2E2E2E;
  }

  .footer-logo span {
    color: #e84c43;
  }
  
  .contactform-input::placeholder,
  .NachrichtCode::placeholder {
    color: white;
  }
  
  .NachrichtCode{
    height: 100px;
  }
  

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10vh;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    padding: 0 20px;
    flex-grow: 1;
    font-family: "Montserrat", sans-serif !important;
}
  .footer-logo h3 {
    font-size: 1.8rem;
    color: white;
  }
  
  .footer-logo span {
    color: #e84c43;
  }

  .ZuDenLinks{
  	display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .footer-links{
	width: 20%;
  }

.footer-links ul{
	list-style-type: none;
  	padding: 0;
}

  .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    border-bottom: solid 0.5px #e84c43;
    padding-bottom: 2px;
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

.footer-links h2{
	border-bottom: solid 0.5px #191814;
  	z-index: 200;
}
  
  .footer-links a:hover {
    color: #e84c43;
  }
  
  .footer-social {
    width: 100%;
    margin-top: 20px;
    justify-content: flex-start;
  }
  
  .footer-social a {
    color: #191814;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
    margin-right: 20px;
  }
  
  .footer-social a:hover {
    color: white;
    transform: scale(1.2);
  }
  
  .footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #bbb;
    text-align: left;
}
  
  @media (max-width: 768px){
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
  
  .footer-logo, .footer-links, .footer-social, .footer-copy {
    margin: 10px 0;
  }
  
  .footer-copy {
    text-align: center;
    height: 100%;
  }
  }
  
  .Impressum-Datenschutz{
    margin-top: 15px;
  }
  
  .Impressum-Datenschutz a{
    text-decoration: none;
    font-size: 13px;
    color: grey;
  }
  
  i {
    color: #e84c43;
  }
  

.footer-logo{
  max-width: 600px;
  }
  
  .contactform h2{
    margin-top: 5px;
  }

  @media (max-width: 961px){
    .footer{
      height: 1400px !important;
      overflow: hidden;
    }
    
            .contactform-input {
        width: 100%;
        box-sizing: border-box;
    }
      .ZuDenLinks{
  	display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
    
      .footer-links{
	width: 90%;
  }
  }

  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
        text-align: center; 
        padding: 0 20px; 
    }
    
      .ZuDenLinks{
  	display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
    
      .footer-links{
	width: 90%;
  }
    
            .contactform-input {
        width: 100%;
        box-sizing: border-box;
    }
  
    .footer-logo, .footer-links, .footer-social, .footer-copy {
        margin: 10px 0; 
    }
  
    .footer-logo h3 {
      width: 100%;
      text-align: center;
        font-size: 1.6rem;
    }
  
    .footer-links ul {
        gap: 10px; 
        flex-wrap: wrap;
    }
  
    .footer-links a{
    	width: 100%;
    }
    
    .footer-social {
        margin-top: 15px;
    }
  
    .footer-social a {
        font-size: 22px; 
    }
  
    .footer-copy {
        text-align: center;
        font-size: 14px; 
    }
  }
  
  @media (max-width: 480px) {
    footer {
        padding: 15px; 
        height: 100%;
    }
    
     .footer-links{
	width: 90%;
  }
        .contactform-input {
        width: 100%;
        box-sizing: border-box;
    }
  
    .footer-container {
      justify-content: flex-start;
        padding: 0 10px; 
        height: auto;
        gap: 0px;
    }
  
    .footer-logo h3 {
      width: 100%;
        font-size: 1.4rem; 
        text-align: center;
    }

    .footer-logo p{
      width: 100%;
    }
  
    .footer-links a {
        font-size: 18px;
      width: 100%;
        display: block;
    }
  
    .footer-links ul {
        flex-direction: column; 
        gap: 8px;
      	list-style-type: none;
      	padding: 0;
    }
  
    .footer-social {
      width: 100%;
        margin-top: 10px; 
    }
  
    .footer-social a {
        font-size: 18px; 
        margin-right: 15px; 
    }
  
    .footer-copy {
        font-size: 13px; 
    }
  }

  @media (max-height: 800px) {
    footer {
        padding: 10px 0;
        min-height: 800px; /* Kleinere Mindesthöhe für kleine Bildschirmhöhen */
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        padding: 0 10px;
    }

    .footer-copy {
        font-size: 12px;
        text-align: center; /* Zentriert für bessere Darstellung */
    }
}

  @media (max-height: 500px) {
    footer {
        padding: 10px 0;
        min-height: 800px; /* Kleinere Mindesthöhe für kleine Bildschirmhöhen */
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-copy {
        font-size: 12px;
        text-align: center; /* Zentriert für bessere Darstellung */
    }
}

@media (max-height: 400px) {
    footer {
        padding: 5px 0;
        bottom: 0;
        margin-top: auto;
    }

    .footer-container {
        padding: 0 5px;
    }

    .footer-logo h3 {
        font-size: 1.2rem;
    }

    .footer-copy {
        font-size: 11px;
    }
}
